package com.example.demo.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.demo.custom.BaseService;
import com.example.demo.entity.TwoNetwork2;
import com.example.demo.repository.TwoNetwork2Repository;

@Service
public class TwoNetwork2Service extends BaseService<TwoNetwork2,Integer> {
	
	@Autowired
	private TwoNetwork2Repository twoNetDao;
	
	public List<TwoNetwork2> findByTwoNetId(Integer id){
		return twoNetDao.findByTwoNetId(id);
	}
	
}
